//
//  GoodsModel.m
//  Mall
//
//  Created by 孙飞燕 on 16/10/13.
//  Copyright © 2016年 孙飞燕. All rights reserved.
//

#import "GoodsModel.h"

@implementation GoodsModel
- (instancetype)initWithDict:(NSDictionary *)dic{
    if (self = [super init]) {
        self.goodsTitle = dic[@"goodsTitle"];
        self.goodsPrice = dic[@"goodsPrice"];
        self.goodsNumber = [dic [@"goodsNum"]intValue];
        self.goodImage = dic[@"goodsImage"];
        self.selectState = [dic[@"selectState"]boolValue];
    }
    return self;
}
@end
